How to group data together in SQL

visit shbcf.ru